<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.min.js"></script>
</head>
<body>

<div id="app">
    <h1>{{title}}</h1>
</div>

<script>
    var v = new Vue( {
        el : "#app",  // 设置绑定的元素, 不能绑定body
        data : {
            title : "hello world"
        }
    } );
</script>

</body>
</html>